import Vue from 'vue'
import store from '@/store/store'

Vue.directive('myfocus', {
  inserted: function (el, binding) {
    el.focus()
  }
})

Vue.directive('focus', {
  inserted: function(el) {
    el.querySelector('input').focus()
  }
})